import 'package:fluro/fluro.dart';
import 'package:talk/pages/my/setting_page.dart';
import 'package:talk/pages/my/theme_page.dart';

import '../../routers/i_router.dart';
import '../sip/ta/main_page.dart';
import 'account_manager_page.dart';



class SettingRouter implements IRouterProvider{

  static String settingPage = '/setting';
  static String themePage = '/setting/theme';
  static String accountManagerPage = '/setting/accountManager';
  static String callPage = '/setting/call';

  
  @override
  void initRouter(FluroRouter router) {
    router.define(settingPage, handler: Handler(handlerFunc: (_, __) => const SettingPage()));
    router.define(themePage, handler: Handler(handlerFunc: (_, __) => const ThemePage()));
    router.define(accountManagerPage, handler: Handler(handlerFunc: (_, __) => const AccountManagerPage()));
    router.define(callPage, handler: Handler(handlerFunc: (_, __) => const MainPage()));

  }
  
}
